<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div{
            border: 10px solid #000000;
            padding: 30px;
            height: 100px;
            background-color:aqua;
           background: url("smiley.gif") no-repeat left;
        }
        .div1{
            background-clip: content-box;/*background-clip主要作用于背景色，其默认值应该是border-box，可以发现background-origin对背景色是无效的*/
            background-origin: content-box;/*background-origin主要用于背景图，其默认值应该是padding-box*/
        }
        .div2{
            background-origin: padding-box;
        }
        .div3{
            background-origin: border-box;
        }
    </style>
</head>
<body>
<div class="div1">
    background-origin: content-box;
</div>
<div class="div2">
    background-origin: padding-box;
</div>
<div class="div3">
    background-origin: border-box;
</div>
</body>
</html>